{% extends 'student/base.html' %}

{% load static %}

{% block title %}学生信息-ZZN'S WEBSITE{% endblock  %}

{% block main %}
<div class="null">

</div>
<main class="container text-center">
    <div class="table-responsive">
        <table class="table table-light table-hover table-striped">
            <thead class="thead-dark">
            <tr>
                <th>姓名</th>
                <th>学号</th>
                <th>学院</th>
                <th>班级</th>
                <th>手机号码</th>
                <th>QQ</th>
                <th>登记时间</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>{{ item.Name }}</td>
                <td>{{ item.Code }}</td>
                <td>{{ item.College }}</td>
                <td>{{ item.Class }}</td>
                <td>{{ item.Tel }}</td>
                <td>{{ item.QQ }}</td>
                <td>{{ item.Regtime }}</td>
            </tr>
            </tbody>
        </table>
        <table class="table table-light table-hover table-striped">
            <thead class="thead-dark">
            <tr>
                <th>笔试成绩</th>
                <th>外在印象分</th>
                <th>内在印象分</th>
                <th>兴趣指数</th>
                <th>渴望指数</th>

            </tr>
            </thead>
            <tbody>
            <tr>
                <td>{{ score.Pentest }}</td>
                <td>{{ score.Outer }}</td>
                <td>{{ score.Inner }}</td>
                <td>{{ score.Interest }}</td>
                <td>{{ score.Want }}</td>

            </tr>
            </tbody>
        </table>
        <div>
            <h5>个人介绍</h5>
            {% if item.Self %}
            <p>{{ item.Self }}</p>
            {% else %}
            <p>NULL</p>
            {% endif %}


        </div>

        <div class="null">

        </div>
        <h3></h3>
        <div class="null">

        </div>
        <form action="" method="post">
            {% csrf_token %}
            <table class="table table-light table-hover table-striped">
                <thead class="thead-dark">
                <tr>
                    <th>姓名</th>
                    <th>学号</th>
                    <th>学院</th>
                    <th>班级</th>
                    <th>手机号码</th>
                    <th>QQ</th>


                </tr>
                </thead>
                <tbody>


                <tr>
                    <input type="hidden" name="id" value="{{ item.id }}">

                    <td><input type="text" class="form-control" name="Name"></td>
                    <td><input type="text" class="form-control" name="Code"></td>
                    <td>
                        <select class="form-control" name="College">
                            <option value="未选" selected="selected">请选择学院-----------</option>
                            <option value="信艺">信艺</option>
                            <option value="经管">经管</option>
                            <option value="国教">国教</option>
                            <option value="机械">机械</option>
                            <option value="水利">水利</option>
                            <option value="建工">建工</option>
                            <option value="电气">电气</option>
                            <option value="测市">测市</option>
                        </select>
                    </td>
                    <td><input type="text" class="form-control" name="Class"></td>
                    <td><input type="text" class="form-control" name="Tel"></td>
                    <td><input type="text" class="form-control" name="QQ"></td>


                </tr>

            </table>

            <button type="submit" class="btn btn-primary btn-lg">提交</button>

        </form>
    </div>
</main>
<div class="null"></div>


{% endblock main %}